# borrowed from Arch without changes
# Maintainer: Norbert Pfeiler <norbert.pfeiler+aur ät gmail.com>

pkgname=txt2tags
pkgver=3.3
pkgrel=1
pkgdesc='A text formatting and conversion tool.'
arch=('any')
url='https://www.txt2tags.org/'
license=('GPL')
depends=('python3')
makedepends=('python3-setuptools')
source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/${pkgname}/${pkgname}/archive/${pkgver}.tar.gz")
sha256sums=('d7083e3e9b02cb90b5439ab19ca279710f6e36008db79bde349a6e30c253a225')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  python setup.py build
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  python setup.py install --root="${pkgdir}"
}
